class Func(object):
    def __init__(self,list):
        self.list = list

    def ret(self):
        num1 = self.list[-11:]
        for num2 in num1:
            print(num2,end="   ")

if __name__ == '__main__':
    list = []
    for i in range(1,10001):
        list.append(i)
    func = Func(list)

    func.ret()
